package com.ryan.mms.position.dao;

import java.io.Serializable;
import java.util.List;

import com.ryan.framework.dao.BaseHibernateDao;
import com.ryan.framework.model.Model;
import com.ryan.framework.tag.pagination.Page;

public interface PositionDao<M extends Model,PK extends Serializable> extends BaseHibernateDao<M,Long> {
	public List<M> findByPosition(M position);
	public List<M> findByPosition(Page page,M position);
	public void deleteByPositionIds(List<Integer> pks);
	public void deleteByPositionIds(String pks);
}
